#include <iostream>
#pragma once
#include "worker.h"
#include <fstream>
#define FILENAME "D:\\code\\file\\staff.txt"
using namespace std;
class WorkerManager
{
public:
	WorkerManager();
	void showMenu();
	void exitSystem();
	void addEmp();
	void save();
	int getEmpQuantity();
	void initEmp();
	void showEmp();
	int isExist(int id);
	void delEmp();
	void modifyEmp();
	void findEmp();
	void sortEmp();
	void cleanFile();
	~WorkerManager();

	int empNum;
	Worker ** empArray;
	bool fileIsEmpty;
};